package com.blog.article.entity.VO;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @author admin
 * @version 1.0 <br/>
 * <p style="font-family:SimSun;font-weight:bold">时间:<br/>2021/12/10 15:16</p>
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class BlogPlus implements Serializable {
    private static final long serialVersionUID = 1L;
    private String title;
    private String id;
    private String author;
    private Integer view;
    private Integer collectionCount;
    private Integer articleId;
    @JsonFormat(pattern = "yyyy-MM-dd kk:mm:ss", timezone="GMT+8")
    private Date blogTime;
    @JsonFormat(pattern = "yyyy-MM-dd kk:mm:ss", timezone="GMT+8")
    private Date lastTime;

}
